package com.ruyipu.forum.base;

import android.os.Environment;

public class Constants {

	// Constants of our website
	public static final String SITE_URL = "http://192.168.10.148/bbs/";
	public static final String API_URL = SITE_URL + "index.php?p=zapi/";
	public static final String URL_UPLOAD = SITE_URL + "uploads/";
	public static final String URL_USER_PICS = URL_UPLOAD + "userpics/";
	

	// Constants of cache dir
	public static final String DIR_BASE = Environment
			.getExternalStorageDirectory() + "/ruyipu/forum/";
	public static final String DIR_IMAGE = DIR_BASE + "image/";
	public static final String DIR_JSON = DIR_BASE + "json/";

	public static final String DATA = "Data";
	public static final String ERROR = "Error";

	
	public static final String USER_ID = "UserID";
	public static final String USER_NAME = "UserName";
	
	
	
	public static final boolean IS_DEBUG = true;
	
	public static final String ACTIVITY_RELATION = "Ralation";
	public static final int RELATION_BROTHER = 0;
	public static final int RELATION_SON = 1;
	
	public static final int HTTP_CONNECTION_TIMEOUT = 3000;
	public static final int HTTP_SO_TIMEOUT = 3000;
}
